package com.egao.common.remark.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

/**
 * @auther ZhaoPeng Wang
 * @create 2022-03-28 16:11:09
 * @description 实体类
 */
@Data
@TableName("t_likes")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TLikes implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    /**
     * 评论内容
     */
    @TableField("name")
    private String name;

    @TableField("remark_id")
    private Integer remarkId;

    @TableField("type")
    private Integer type;


}